import request from '@/utils/request'

export default {
    // 获取消息列表
    getMessageListPage(current, limit, messageQuery) {
        return request({
            url: `/taxation/message/getMessageListPage/${current}/${limit}`,
            method: 'post',
            data: messageQuery
        })
    },
    // 根据留言Id删除问答
    deleteMessageById(id) {
        return request({
            url: `/taxation/message/deleteMessageById/${id}`,
            method: 'delete',
        })
    },
    // 添加问题
    addMessageAnswer(messageInfo) {
        return request({
            url: `/taxation/message/addMessageAnswer`,
            method: 'post',
            data: messageInfo
        })
    }
}

